﻿namespace JanusLibAing.AutoSave
{
    public interface IDataItem
    {
        /// <summary>
        /// Parses the specified import value.
        /// </summary>
        /// <param name="importValue">The import value.</param>
        void ParseValue(string importValue);

        /// <summary>
        /// Gets the node name.
        /// </summary>
        /// <value>The name.</value>
        string Name { get; }

        /// <summary>
        /// Gets or sets the value.
        /// </summary>
        /// <value>The value.</value>
        object Value { get; set; }
    }
}